﻿import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { DashboardComponent } from './dashboard/dashboard.component';
import { WorkshopDashboardComponent } from 'app/main/workshop-dashboard/workshop-dashboard.component';

@NgModule({
    imports: [
        RouterModule.forChild([
            {
                path: '',
                children: [
                    {
                        path: 'dashboard',
                        component: DashboardComponent
                    },
                    {
                        path: 'workshop-dashboard',
                        component: WorkshopDashboardComponent
                    }
                ]
            }
        ])
    ],
    exports: [RouterModule]
})
export class MainRoutingModule {}
